package dao;
import tool.RowMapper;
import tool.BaseDao;
import java.util.List;
import java.sql.SQLException;
import java.sql.ResultSet;
import entity.ShoppingcarttbEntity;
import dao.mapper.ShoppingcarttbDAOI;

/**
*@author JiangFan
*/
public class ShoppingcarttbDAO extends BaseDao implements ShoppingcarttbDAOI {

}
class ShoppingcarttbRowMapper implements RowMapper<ShoppingcarttbEntity>{
	@Override
	public ShoppingcarttbEntity rowmap(ResultSet set) throws  SQLException{
		return new ShoppingcarttbEntity(
			set.getString("shopping_id"),
			set.getString("goods_id"),
			set.getString("customer_id"),
			set.getInt("goods_number")
		);
	}
}
